#include <iostream>
#include <iomanip>

#include <vector>
using namespace std;

int main()
{
  vector<int> vec(10,12);
  cout<<"size():\t"<<vec.size()<<endl;
  cout<<"empty():\t"<<vec.empty()<<endl;
  cout<<"max_size():\t"<<vec.max_size()<<endl;
  cout<<"capacity():\t"<<vec.capacity()<<endl;
  cout<<endl;

  vec.resize(15);
  cout<<left<<setw(40)<<setfill('-')<<"after resize(15)"<<endl;
  cout<<"size():\t"<<vec.size()<<endl;
  cout<<"empty():\t"<<vec.empty()<<endl;
  cout<<"max_size():\t"<<vec.max_size()<<endl;
  cout<<"capacity():\t"<<vec.capacity()<<endl;
  cout<<endl;

  vec.resize(8);
  cout<<left<<setw(40)<<setfill('-')<<"after resize(8)"<<endl;
  cout<<"size():\t"<<vec.size()<<endl;
  cout<<"empty():\t"<<vec.empty()<<endl;
  cout<<"max_size():\t"<<vec.max_size()<<endl;
  cout<<"capacity():\t"<<vec.capacity()<<endl;
  cout<<endl;
  
  vec.reserve(40);
  cout<<left<<setw(40)<<setfill('-')<<"after reserve(40)"<<endl;
  cout<<"size():\t"<<vec.size()<<endl;
  cout<<"empty():\t"<<vec.empty()<<endl;
  cout<<"max_size():\t"<<vec.max_size()<<endl;
  cout<<"capacity():\t"<<vec.capacity()<<endl;
  cout<<endl;
  
  return 0;

}
